package org.aswing;

extern class AssetIcon implements Icon {
	function new(?p0 : flash.display.DisplayObject, ?p1 : Int, ?p2 : Int, ?p3 : Bool) : Void;
	function getAsset() : flash.display.DisplayObject;
	function getDisplay(p0 : Component) : flash.display.DisplayObject;
	function getIconHeight(p0 : Component) : Int;
	function getIconWidth(p0 : Component) : Int;
	function updateIcon(p0 : Component, p1 : org.aswing.graphics.Graphics2D, p2 : Int, p3 : Int) : Void;
	private var asset : flash.display.DisplayObject;
	private var assetContainer : flash.display.DisplayObjectContainer;
	private var height : Int;
	private var maskShape : flash.display.Shape;
	private var scale : Bool;
	private var width : Int;
	private function setHeight(p0 : Int) : Void;
	private function setWidth(p0 : Int) : Void;
}
